home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Adobe Graphics & Publishing SDK 1996 December
/
Adobe Graphics & Publishing SDK 1996 December.iso
/
mac
/
After Effects 3.1 SDK Mac
/
Examples
/
Header Files
/
AE_Macros.h
< prev
next >
Wrap
Text File
|
1996-11-06
|
786b
|
43 lines
/**
AEFX_Macros.c
Part of the Adobe After Effects 3.1 SDK
Copyright (c)1993-96, Adobe Systems Inc, All Rights Reserved.
Revision History
1.0, created by dmw
**/
#ifndef _H_AE_MACROS
#define _H_AE_MACROS
#include <A4Stuff.h>
// this only works if the mw headers use __powerc
#ifndef __powerc
#define AEFX_DECLARE_A4 EnterCodeResource();
#define AEFX_SET_A4
#define AEFX_RESTORE_A4 ExitCodeResource();
#else
#define AEFX_DECLARE_A4
#define AEFX_SET_A4
#define AEFX_RESTORE_A4
#endif
#define AEFX_CLR_STRUCT(STRUCT) \
do { \
long _t = sizeof(STRUCT); \
char *_p = (char*)&(STRUCT); \
while (_t--) { \
*_p++ = 0; \
} \
} while (0);
#endif // _H_AX_MACROS